package com.yeyks.commonReference.service.user;

import com.yeyks.order.dal.domain.OrderHead;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author shuai
 * @date 2019/11/11 17:52
 */
public interface UserCommissionService {

    /**
     * 0元推广订单分佣
     *
     * @param orderHead
     */
    void addZeroAmount(OrderHead orderHead);

    //o元邀请佣金
    void saveZeroCommission(String phone, String deviceId);

    //写入注册消息
    void messageNoticeZero(Integer userId, Integer parentId);

    /**
     * c2b订单新手任务佣金
     */
    void addC2bNewUserTaskAmount(OrderHead orderHead);
}
